﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AutoUpdateService
{
    public class Application
    {
        public static void Run()
        {
            Mgr.ConfigMgr.getInstance().Load();

            Console.WriteLine("Server Port is " + Mgr.ConfigMgr.getInstance().config.serverPort);

            Server.Server.getInstance().runServerAsync(Mgr.ConfigMgr.getInstance().config.serverPort);

            //FowlServer.Server.getInstance().runServerAsync(3143);
        }
    }
}
